﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using WfActivityLibrary.control;

namespace WfActivityLibrary
{
    public partial class 结束 : System.Workflow.Activities.CallExternalMethodActivity
    {
        public 结束()
        {
            InitializeComponent();
        }
        public TaskResult 处理结果 { set; get; }

        private void 结束_MethodInvoking(object sender, EventArgs e)
        {
            this.ParameterBindings["instanceID"].Value = this.WorkflowInstanceId;
            this.ParameterBindings["insResult"].Value = this.处理结果;
        }
    }
}
